package com.chatplus.application.domain.request;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * MJ图片绘图任务请求
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class MjImageJobRequest implements Serializable {


    /**
     * rate : 1:1
     * model :  --v 6
     * chaos : 0
     * stylize : 100
     * seed : 0
     * raw : false
     * img :
     * weight : 0.25
     * prompt : fine art painting, still life, portrait, landscape, abstract, surrealism, impressionism, modern art, realism, watercolor, acrylic, oil painting, mixed media, artist's easel, palette, brush strokes, art studio
     * neg_prompt : 2222
     * tile : false
     * quality : 0
     * session_id : pfr6ulz0rehcqbqhmov1amyxol65svyqtepk48zgbc
     */

    @JsonProperty("rate")
    private String rate;
    @JsonProperty("model")
    private String model;
    @JsonProperty("chaos")
    private int chaos;
    @JsonProperty("stylize")
    private int stylize;
    @JsonProperty("seed")
    private int seed;
    @JsonProperty("raw")
    private boolean raw;
    @JsonProperty("img")
    private String img;
    @JsonProperty("weight")
    private double weight;
    @JsonProperty("prompt")
    private String prompt;
    @JsonProperty("neg_prompt")
    private String negPrompt;
    @JsonProperty("tile")
    private boolean tile;
    @JsonProperty("quality")
    private int quality;
    @JsonProperty("session_id")
    private String sessionId;
}
